/**
 * 
 */
package com.dangdang.service;

import java.util.List;

import com.dangdang.domain.Order;
import com.dangdang.domain.ReceiveAddress;

/**
 * 订单业务层
 * 
 * @author Wangpeihu
 * @team [Never give up]
 * @since JDK1.6(建议)
 * @date 2010-1-29
 */
public interface OrderService {
	public void createOrder(CartService cs, ReceiveAddress address);

	public void deleteOrderById(Integer orderId);

	public List<Order> findOrderByUserId(Integer userId);

	public Order findOrderById(Integer id);

	public void deleteAllOrderById(Integer[] orderIds);

}
